//
//  NSObject+Additions.m
//  s.
//
//  Created by GoldMantis_hyb on 2021/9/4.
//  Copyright © 2021 hailuo. All rights reserved.
//

#import "NSObject+Additions.h"

@implementation NSObject (Additions)
+ (BOOL)dx_isNullOrNilWithObject:(id)object;
{
    if (object == nil || [object isEqual:[NSNull null]]) {
        return YES;
    } else if ([object isKindOfClass:[NSString class]]) {
        if ([object isEqualToString:@""]) {
            return YES;
        } else {
            return NO;
        }
    }
    
    return NO;
}
@end
